<?php

require_once('../core/header.php');
require_once('../core/cfg.php');
require_once('../core/RouterAdmin.php');
require_once('../core/functions.php');

$router = new RouterAdmin;
Registry::set("router", $router);
$router->path = functions::setPath(ROOT_DIR.'controller');
$router->delegate();

?>